package com.usian.wemedia.service;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;

import java.util.List;

public interface WmnewsService {
    ResponseResult findWmnewsList(WmNewsPageReqDto dto);

    ResponseResult submitNews(WmNewsDto wmNews);

    WmNews findById(Integer id);

    ResponseResult delById(Integer id);

    ResponseResult downOrUp(WmNewsDto dto);

    ResponseResult update(WmNews wmNews);

    List<Integer> getIds();

}
